###########################################
# EMPOWER 2000 - Technical Manual vs 1.3.1: #
###########################################

**IMPORTANT BUG FIX - if you are running PHP3, comment out line 
120 by placing a "#" character at the beginning of the line.
The program will work fine without that statement!
	
So it should look like this...
#if($type == "directory") array_push($ignores, ".", "..");

****************************************************************


Overview:

** Usage of this program accepts that you have read and agree to the 
license (bottom of this page) that comes with this program. Usage of this 
program also assumes you have limited experience with PHP and that 
you have PHP installed on your server. If this is not correct, please
contact your system administrator for proper installation or further 
help. This program allows you to EMPOWER your clients, by allowing 
them to make  text changes to their own  web pages - without changing 
the design or HTML you've worked so hard to create.

The procedure is simple:

 
1. Open the PHP file which runs the Empower 2000 program with your 
   favorite text editor (Notepad, Textpad, Pro-HTML, Coffee Cup, etc.).

2. Make adjustments to the following settings as needed:
	**IMPORTANT - if you are running PHP3, comment out line 120
	by placing a "#" character at the beginning of the line.
	
	So it should look like this...
	#if($type == "directory") array_push($ignores, ".", "..");

3. Set directories to ignore: Create a list of each directory you 
   would like EMPOWER 2000 to ignore and put each one in quotes and 
   separate them with a comma ("directory1", "directory2", "directory3")
   [var: $dir_ignores]
 
4. Set files to ignore: Create a list of each file you would like 
   EMPOWER 2000 to ignore and put each one in quotes and separate them 
   with commas ("file1", "file2", "file3"). (Note: You may also use 
   filename 'wildcards' to indicate whole groups of files  - e.g., 
   "*.jpg"). [var: $file_ignores]  

5. Set path to root directory: Which is where you have placed this 
   program page (no trailing slash!) [var: $root]

6. Set password for user authentication. If you don't need password 
   protection, set $auth to 0. Define the username and password here, 
   if you wish control of access of this program.
   [var: $auth, $user, $pass]

7. Meta tag(s) editing, to disable change to 0; default is 1. 
   [var $meta]

8. Page title editing, to disable change to 0; default is 1. 
   [var $title]

9. Printing last update note, to disable change to 0; default is 1. 
   [var: $print_date]

10. E-mail error reporting, set to your email address to report 
    errors. [var: $to]

11. Line breaks, to disable change to 0; default is 1. [var: $breaks]
 
12. Save this .php file in any directory of the client's web site.

13. Change file permissions to chmod 644.
    (If you are using an FTP program, you may right click on a file and 
    choose option "chmod (UNIX)".) Then check the read, write and 
    execute boxes as follows:    
    owner   group   other
      x       x       x
      x       .       . 
      .       .       .

Now open each client web page in question (again using your Text 
Editor), and insert the following comments before and after each 
segment of the page which you wish to EMPOWER for your client:

		BEFORE:	<!-- EMPOWER -->

		text, including HTML code HERE ... 

		AFTER:  <!-- END_EMPOWER -->

(Note: To save time, you may want to program the keystrokes for 
these two comments into your text editor; they are the only code
you need for this procedure.)

Test a few pages to make sure everything is working correctly and 
that's all there is to it ... Your pages are now EMPOWERED, and 
ready to deliver to the client!


**
If you feel this program has been useful or to make suggestions,
please send an email to: empower2000@studio77.com.
**


#################################
# End User Instructions vs 1.1: #
#################################

Summary:

This program allows you to access your web pages, to make text-edits
or other simple changes, without having to go back to your web 
designer each time. The pages of your site are designed to allow 
access only to these less complicated areas. 

You may change the text that will appear in the text boxes as you 
wish, and then save each page when you are finished. [Don't worry; 
you can't "break" anything; the page-programming code and format
will NOT be disturbed.]


Step-by-Step:

 
1. Go to the Empower 2000 page on your web site.

2. Click the arrow on the right hand drop-down menu at the top of
   the page. You should see a list of the files in the root directory
   of your web site. 

3. If the file you wish to edit is shown, click on that file to
   highlight it. Proceed to Step 5. 

4. If the file is NOT listed, click the arrow on the left hand 
   drop-down menu, and highlight the sub-directory which contains the
   file you want to edit. Click [OPEN] to open that subdirectory. 
   If the sub-directory is within another sub-directory, repeat step
   this step. Then return to the right hand menu and highlight 
   your file. 

5. Click [OPEN] to the right of the menu to open the file for
   editing. 

6. You should now see a series of text boxes, containing the 
   text-copy from your web page. You may now make changes as you wish.

7. When you are finished editing the page, click on the 
   [Save Changes!] button at the bottom of the page. 

8. If you're happy with how the page now looks ... you're done! If not,
   RELOAD THE PAGE and edit some more.

9. Repeat Steps 2 through 9 for any other pages you wish to edit.


###########
# LICENSE #
###########

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation. This program is distributed in the 
hope that it will be useful, but WITHOUT ANY WARRANTY; without even 
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
PURPOSE.  For more details, see the GNU General Public License.
<http://www.opensource.org/gpl-license.html>

If you are a web designer/developer you MAY distribute
this program to your clients at will. However, you may NOT sell the
source code to anyone! This is a value-added program 
that you can give to your clients. You will also not hold us,
Studio 77, liable for any damages or alterations that may arise 
from giving your clients access to edit their own web site(s) or from
using this program. Instructions are provided in this file and 
everything is well documented.

  Requirements: 
    UNIX server
    PHP3/PHP4
    A web browser

  Installation:
    Please see the Technical Manual & End User Instructions at the 
    top of this page.
    
  Documentation:
    Documentation for installation and the end user's manual
    are available at the top of this file.
    
#######
# FAQ #
#######

Q: I get a "permission denied" message, what's wrong?
A: Be sure your file permissions are set to allow read and 
   write capabilities (chmod 644) 

Q: No text is showing up in the text boxes, what's wrong?
A: Be sure to place the empower tags in the pages you want your 
   client to edit. This will tell the program what is editable and 
   what is not. You may place as many of these tags on any one page.
   
   <!-- EMPOWER -->
   your editable text or HTML here...
   <!-- END_EMPOWER --> 

Q: The text boxes aren't pulling the text out correctly, 
	what's wrong? 
A: Make sure that you do NOT have other comments mixed in with the 
	EMPOWER tags, also double check the spelling of the tags and 
	make sure you have an even number of opening and closing tags! 

Q: None of the drop down menu's are reading the files and directories.
A: Make sure the $root variable path is correct

Q: Will Studio 77 do customized programming?
A: Yes, send an email to info@studio77.com to request a quote for 
   your project!

** If you are still experiencing difficulties setting up this program,
you may send an email to empower2000@studio77.com and include
the program and any error messages that you are receiving 
and we will see what we can do.

## CUSTOM BUILT DATABASE DRIVEN SOLUTIONS @ http://studio77.com ##
##################################################################